import { h, Component } from 'preact';
import { connect } from 'preact-redux';
import DockBar from '~/components/DockBar';
import HeaderBar from '~/components/HeaderBar';
import ScrollLoading from '~/components/ScrollLoading';
import { Link } from 'preact-router/match';
import Loading from '~/components/Loading';
import Modal from '~/components/Modal';
import classNames from 'classnames';
import s from './Message.scss';

class Message extends Component {

	constructor(props){
		super(props);
		this.state = {
		};
	}


	componentWillMount() {
	}


	componentWillReceiveProps(nextProps) {
	}

	render() {
		return (
			<div className={s.root}>
				<HeaderBar
					setTitle="我的消息"
					goBack
				></HeaderBar>
				<div className={s.listwarp}>
					<div className="al-c pdt1-5">
						暂无消息～
					</div>
				</div>
			</div>
		);
	}
}

function mapStateToProps(state) {
	return {
		user: state.user
	};
}

export default connect(mapStateToProps)(Message);
